Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply Wave.shift() to output wav file #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhufengning
Copy link

Adjust zs when ts doesn't start from zero

Adjust `zs` when `ts` doesn't start from zero
@AllenDowney
Copy link
Owner

Thanks for this suggestion, but I'm not sure I understand the motivation. What problem does this solve?

@zhufengning
Copy link
Author

Wave.shift adds the value to ts array, but when writing wav file, it doesn't consider values in ts array, so it will write a not shifted wav file.

@AllenDowney
Copy link
Owner

Should the wav file be shifted? What goes wrong if it's not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants